<script setup>
    import {ref} from 'vue'
    const s=ref('<span style="color:red;">Hello Vue3+Vite</span>')
</script>

<template>
<div>
  <h1 v-html="s"></h1>
  <h2 v-text="s"></h2>
</div>
</template>


<style scoped>

</style>